﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<div class="slogan">
</div>
<%using (Html.BeginForm("SetFilter", "Home", FormMethod.Post, new { id = "globalSearch" }))
  {%>
<div class="ibox">
    <ul>
        <li class="ccat1">
            <%=Html.DropDownList("GlobalCategory", null, Constants.NEWS_FIRST_CATEGORY, new { @class = "cat-search" })%>
        </li>
        <li class="cinp">
            <div class="inp fl">
                <input type="text" style="padding-top:4px;" maxlength="100" value="<%=Constants.GLOBAL_FILTER_TEXT_DEFAULT %>"
                    id="txtGlobalSearch" name="txtGlobalSearch" onfocus="JS_LIB.ShowOnFocus(this,'<%=Constants.GLOBAL_FILTER_TEXT_DEFAULT %>')"
                    onblur="JS_LIB.ShowOnBlur(this,'<%=Constants.GLOBAL_FILTER_TEXT_DEFAULT %>')" />
            </div>
        </li>
        <li class="cbtns" onclick="$('#globalSearch').submit();"></li>
    </ul>
</div>
<%} %>